package com.tony.spring.mode.factory;

public class DemoFactory {
	
	public static void main(String[] args) throws Exception {
		// 测试支付
		Payment payment = FactoryMode.getPayment("WXA");
	
		payment.pay();
	}
}

